<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table align='center' border='1' cellspacing='0'>
    <tr>
        <td>id</td>
        <td>name</td>
    </tr>
    <c:forEach items="${teachers}" var="t" >
        <tr>
            <td>${t.id}</td>
            <td>${t.name}</td>
            <td>${t.age}</td>
        </tr>
    </c:forEach>
</table>
